package com.travel.controller;

import java.util.List;
import java.util.Map;

import javax.annotation.Resource;
import javax.servlet.http.HttpSession;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import com.travel.common.pojo.SysOpUserOveride;
import com.travel.service.SysOpService;
import com.travel.utils.Page;

@Controller
@RequestMapping("SysOp/")
public class SysOpController {
	@Resource private SysOpService sysOpService;
	
	@RequestMapping("selectList")
	public String selectList(HttpSession session,String name,String tel,Integer sex,String cpage) {
		SysOpUserOveride user = (SysOpUserOveride) session.getAttribute("user");
		int count = sysOpService.getCount(name,tel,sex);
		Page page = new Page(cpage, 5, count);
		List<Map<String, Object>> list = null;
		return "SysOp/messageList";
	}
	
	
}
